package nl.utwente.eemcs.graph;

public class ConditionalStartNode extends Node {
	protected String condition;
	protected ConditionalConstruct parentConstruct;

	public ConditionalConstruct getParentConstruct() {
		return parentConstruct;
	}

	public void setParentConstruct(ConditionalConstruct parentConstruct) {
		this.parentConstruct = parentConstruct;
	}

	public ConditionalStartNode(String name) {
		super(name);
	}
	
	public ConditionalStartNode(String name, String condition) {
		this(name);
		this.condition = condition;
	}
	
	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}	
}